package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportTaskExecutorDTO;
import com.hunttown.mes.rpc.domain.query.TransportTaskExecutorDTOQuery;

/**
 * created by wangjunfu on 2020-05-20 17:34:39
 */
public interface TransportTaskExecutorRpcService {

    TransportTaskExecutorDTO insert(TransportTaskExecutorDTO transportTaskExecutorDTO);

    Boolean updateInfoById(TransportTaskExecutorDTO transportTaskExecutorDTO);

    Boolean updateInfoByQuery(TransportTaskExecutorDTOQuery transportTaskExecutorDTOQuery);

    TransportTaskExecutorDTO selectById(Integer id);

    TransportTaskExecutorDTO selectObjByQuery(TransportTaskExecutorDTOQuery transportTaskExecutorDTOQuery);

    Page<TransportTaskExecutorDTO> getListForPage(TransportTaskExecutorDTOQuery transportTaskExecutorDTOQuery);

    Boolean deleteById(Integer id);

    Boolean deleteByIdForPhysical(Integer id);

    Boolean deleteByTaskId(Integer taskId, Integer playerType);
}